<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{fullName}}
    </div>

    <script src="../js/vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                firstName: '苏州',
                lastName: '大学'
            },
            computed: {
                // fullName: function(){
                //     return this.firstName + ' ' + this.lastName
                // }
                fullName: {
                    set: function(){

                    },
                    get: function(){
                        return 'abc'
                    }
                }
            }
        })
    </script>
</body>
</html>